package com.eyas.business.model.jdbcEntity.table;

import com.eyas.core.annotation.*;

/**
 * @Auther: 王龙龙
 * @Date: 2019/3/3 09:32
 * @Description:
 */
@Table("userandrole")
public class UserAndRole {
    @PrimaryKey(value = "relationid",columnType = ColumnType.INT,columnSize = 8,IsNull = false,inrementType = IncrementType.AUTOINCREMENT)
    private Integer relationid;
    @Column(column = "adminid",columnType = ColumnType.INT,IsNull = false,columnSize = 8)
    private Integer adminid;
    @Column(column = "roleid",columnType = ColumnType.INT,IsNull = false,columnSize = 8)
    private Integer roleid;

    public Integer getRelationid() {
        return relationid;
    }

    public void setRelationid(Integer relationid) {
        this.relationid = relationid;
    }

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }
}
